package com.ahm.eurekaserver01.eurekaserver01;

import com.netflix.loadbalancer.RandomRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
import org.springframework.context.annotation.Bean;

@EnableEurekaServer
@SpringBootApplication
public class Eurekaserver01Application {
//    @Bean
//    public RandomRule randomRule() { return new RandomRule(); }

    public static void main(String[] args) {
        SpringApplication.run(Eurekaserver01Application.class, args);
    }

}
